KtorWriteKeyValuesRepoClient

class KtorWriteKeyValuesRepoClient<Key : Any, Value : Any>(    baseUrl: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     val onNewValue: Flow<Pair<Key, Value>>,     val onValueRemoved: Flow<Pair<Key, Value>>,     val onDataCleared: Flow<Key>,     keyTypeInfo: <ERROR CLASS>,     valueTypeInfo: <ERROR CLASS>,     keyToValuesMapTypeInfo: <ERROR CLASS>) : WriteKeyValuesRepo<Key, Value>

Constructors

Link copied to clipboard
fun <Key : Any, Value : Any> KtorWriteKeyValuesRepoClient(    baseUrl: String,     httpClient: <ERROR CLASS>,     contentType: <ERROR CLASS>,     onNewValue: Flow<Pair<Key, Value>>,     onValueRemoved: Flow<Pair<Key, Value>>,     onDataCleared: Flow<Key>,     keyTypeInfo: <ERROR CLASS>,     valueTypeInfo: <ERROR CLASS>,     keyToValuesMapTypeInfo: <ERROR CLASS>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open suspend override fun add(toAdd: Map<Key, List<Value>>)
Link copied to clipboard
open suspend override fun clear(k: Key)
Link copied to clipboard
open suspend override fun clearWithValue(v: Value)
Link copied to clipboard
open suspend override fun remove(toRemove: Map<Key, List<Value>>)
Link copied to clipboard
open suspend override fun set(toSet: Map<Key, List<Value>>)

Properties

Link copied to clipboard
open override val onDataCleared: Flow<Key>
Link copied to clipboard
open override val onNewValue: Flow<Pair<Key, Value>>
Link copied to clipboard
open override val onValueRemoved: Flow<Pair<Key, Value>>